package com.ruoyi.miaomiao.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 热销商品管理对象 f_hotgoods
 * 
 * @author ruoyi
 * @date 2022-07-26
 */
public class HotGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 热销记录id */
    private Long hotgoodsId;

    /** 商品id */
    @Excel(name = "商品id")
    private Long goodsId;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    public void setHotgoodsId(Long hotgoodsId) 
    {
        this.hotgoodsId = hotgoodsId;
    }

    public Long getHotgoodsId() 
    {
        return hotgoodsId;
    }
    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("hotgoodsId", getHotgoodsId())
            .append("goodsId", getGoodsId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updater", getUpdater())
            .toString();
    }
}
